package com.yunxun.coinmessage.dao;

import com.yunxun.coinmessage.entity.TypeDict;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface TypeDictDao {
    @Select("select * from type_dict")
    List <TypeDict>findAll();
    @Select("Select * from type_dict where tid=#{tid}")
    TypeDict queryById(Integer tid);
}
